package com.ruoyi.bysj.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 sys_order
 * 
 * @author laow
 * @date 2021-10-17
 */
public class SysOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private Long orderId;

    /** 维修组号 */
    @Excel(name = "维修组号")
    private Long groupId;

    /** 预约单号 */
    @Excel(name = "预约单号")
    private Long appointmentId;

    /** 订单业务 */
    @Excel(name = "订单业务")
    private String appointmentBusiness;

    /** 车主 */
    @Excel(name = "车主")
    private String appointmentName;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private String appointmentCar;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String appointmentProblem;

    /** 车牌 */
    @Excel(name = "车牌")
    private String carId;

    /** 接待员 */
    @Excel(name = "接待员")
    private String orderReceiver;

    /** 维修问题 */
    @Excel(name = "维修问题")
    private String orderProblem;

    /** 维修措施 */
    @Excel(name = "维修措施")
    private String orderMeasure;

    /** 完成工时 */
    @Excel(name = "完成工时")
    private Long orderTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderEndtime;

    /** 订单费用 */
    @Excel(name = "订单费用")
    private String orderCost;

    private List<Long> goodsIds;
    /** 提交人 */
    @Excel(name = "提交人")
    private String orderName;

    @Excel(name = "提交人")
    private String userName;

    @Excel(name = "订单状态")
    private String orderState;
    /** 人工费用 */
    @Excel(name = "人工费用")
    private Long artificialCost;

    /** 所需配件 */
    @Excel(name = "所需配件")
    private String orderGoods;

    /** 配件费用 */
    @Excel(name = "配件费用")
    private Long goodsCost;
    /** 评分 */
    @Excel(name = "评分")
    private String evaluationScore;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String evaluationContent;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setAppointmentId(Long appointmentId) 
    {
        this.appointmentId = appointmentId;
    }

    public Long getAppointmentId() 
    {
        return appointmentId;
    }
    public void setAppointmentBusiness(String appointmentBusiness) 
    {
        this.appointmentBusiness = appointmentBusiness;
    }

    public String getAppointmentBusiness() 
    {
        return appointmentBusiness;
    }
    public void setAppointmentName(String appointmentName) 
    {
        this.appointmentName = appointmentName;
    }

    public String getAppointmentName() 
    {
        return appointmentName;
    }
    public void setAppointmentCar(String appointmentCar) 
    {
        this.appointmentCar = appointmentCar;
    }

    public String getAppointmentCar() 
    {
        return appointmentCar;
    }
    public void setAppointmentProblem(String appointmentProblem) 
    {
        this.appointmentProblem = appointmentProblem;
    }

    public String getAppointmentProblem() 
    {
        return appointmentProblem;
    }
    public void setOrderReceiver(String orderReceiver) 
    {
        this.orderReceiver = orderReceiver;
    }

    public String getOrderReceiver() 
    {
        return orderReceiver;
    }
    public void setOrderProblem(String orderProblem) 
    {
        this.orderProblem = orderProblem;
    }

    public String getOrderProblem() 
    {
        return orderProblem;
    }
    public void setOrderMeasure(String orderMeasure) 
    {
        this.orderMeasure = orderMeasure;
    }

    public String getOrderMeasure() 
    {
        return orderMeasure;
    }
    public void setOrderTime(Long orderTime)
    {
        this.orderTime = orderTime;
    }

    public Long getOrderTime()
    {
        return orderTime;
    }
    public void setOrderEndtime(Date orderEndtime) 
    {
        this.orderEndtime = orderEndtime;
    }

    public Date getOrderEndtime() 
    {
        return orderEndtime;
    }
    public void setOrderCost(String orderCost)
    {
        this.orderCost = orderCost;
    }

    public String getOrderCost() 
    {
        return orderCost;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public List<Long> getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(List<Long> goodsIds) {
        this.goodsIds = goodsIds;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getArtificialCost() {
        return artificialCost;
    }

    public void setArtificialCost(Long artificialCost) {
        this.artificialCost = artificialCost;
    }

    public String getOrderGoods() {
        return orderGoods;
    }

    public void setOrderGoods(String orderGoods) {
        this.orderGoods = orderGoods;
    }

    public Long getGoodsCost() {
        return goodsCost;
    }

    public void setGoodsCost(Long goodsCost) {
        this.goodsCost = goodsCost;
    }
    public void setEvaluationScore(String evaluationScore)
    {
        this.evaluationScore = evaluationScore;
    }

    public String getEvaluationScore()
    {
        return evaluationScore;
    }
    public void setEvaluationContent(String evaluationContent)
    {
        this.evaluationContent = evaluationContent;
    }

    public String getEvaluationContent()
    {
        return evaluationContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("groupId", getGroupId())
            .append("appointmentId", getAppointmentId())
            .append("appointmentBusiness", getAppointmentBusiness())
            .append("appointmentName", getAppointmentName())
            .append("appointmentCar", getAppointmentCar())
            .append("carId", getCarId())
            .append("appointmentProblem", getAppointmentProblem())
            .append("orderReceiver", getOrderReceiver())
            .append("orderProblem", getOrderProblem())
            .append("orderMeasure", getOrderMeasure())
            .append("orderTime", getOrderTime())
            .append("orderEndtime", getOrderEndtime())
            .append("orderCost", getOrderCost())
            .append("orderName", getOrderName())
            .append("orderState", getOrderState())
            .append("goodsIds", getGoodsIds())
            .append("userName", getUserName())
            .append("goodsCost", getGoodsCost())
            .append("artificialCost", getArtificialCost())
                .append("evaluationScore", getEvaluationScore())
                .append("evaluationContent", getEvaluationContent())
            .toString();
    }
}
